WooCommerce\Square\Handlers\Background_Job S

Total Complexity 28
Dependencies 7
Dependents 1
Total lines 349
Lines of code 135
Logical lines of code 68
Comment lines 143
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
process_job()
S
55 6 20
set_default_time_limit()
S
66 3 8
test_connection()
S
67 3 6
handle()
S
61 2 13
create_job()
S
56 1 20
__construct()
S
58 1 16
clear_all_jobs()
S
69 2 7
delete_jobs()
S
74 2 5
maybe_increase_time_limit()
S
68 2 7
job_complete()
S
73 1 5
job_failed()
S
67 1 9
process_item()
S
98 1 1
is_time_exceeded()
S
81 1 3
add_debug_tool()
S
63 1 10
run_clear_background_jobs()
S
73 1 5